System exception:
Message: MySQL query error. ERRNO: 1064, ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY t1.`id`' at line 3, SQL: SELECT t1.`id`, trim(concat(t1.`name`,' ',ifnull(t1.`brand`,ifnull((SELECT t3.`brand` FROM rkst_catalog t3 WHERE t3.`id`=0),' ')), ' ',ifnull(t1.`brand_type`,ifnull((SELECT t3.`brand_type` FROM rkst_catalog t3 WHERE t3.`id`=0),' ')))) as `name` ,(SELECT concat('/',t2.controller,'/',t2.method) FROM rkst_routing t2 WHERE t2.`hash`=t1.`hash` ) AS `uri` FROM rkst_catalog t1 WHERE t1.`id` IN () ORDER BY t1.`id`
File: /home/webstab/data/www/
Line: 318
Trace: #0 /home/webstab/data/www/ Elf\Libs\Db->_execute() #1 /home/webstab/data/www/ Elf\App\Models\Catalog->_get() #2 /home/webstab/data/www/ Elf\App\Controllers\Catalog->item() #3 {main}